import { useState, Suspense, useMemo } from 'react'


import { useRoutes, useLocation, useNavigate, NavLink } from 'react-router-dom'
import { MoreOutline } from 'antd-mobile-icons'
import './style.scss'

const Home = () => {
    const navigate = useNavigate()
    const goCity =()=>{
        navigate('/city')
    }
    return (
        <>
            <div className='tops'>
                <span onClick={goCity}>城市</span>
                <input type="text" />
                <span style={{ marginRight: 10 }}><MoreOutline></MoreOutline></span>
            </div>
        </>

    )
}

export default Home